package info.liujiachen.security.test.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @RequestMapping("/user")
    public String user() {
        return "Everyone can read the home page." +
                " </br> <a href=\"/guest\">guest</a>" +
                "</br> <a href=\"/admin\">admin</a>" +
                "</br> <a href=\"logout\">logout</a>";
    }

}
